"""asset URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from index import views

urlpatterns = [
    path('asset_turn/', include('asset_turn.urls')),  # 资产转移
    path('inquire/', include('inquire.urls')),   # 按资产名称查询
    path('search/', include('asset_search.urls')),  # 按保管人查询
    path('ribbon/', include('ribbon.urls')),   # 功能区
    path('index/', include('index.urls')),  # 首页
    path('login/', include('login.urls')),  # 登陆
    path('user/', include('add_user.urls')),  # 用户的增删查改
    path('management/', include('authorityManagement.urls')),  # 权限验证功能
    path('water/', include('water_search.urls')),  # 资产转移流水查询
    path('in/', include('in.urls')),   # 总资产查询

    path('', views.index),   # 进入http://127.0.0.1:8000/后直接进入首页
    path('admin/', admin.site.urls),
]
